Matthias Clasen [Fri, 4 Sep 2020 15:30:35 +0000 (15:30 +0000)]
Merge branch 'release-script' into 'master'
Release script
See merge request GNOME/gtk!2530
Benjamin Otte [Fri, 4 Sep 2020 14:40:36 +0000 (14:40 +0000)]
Merge branch 'demo_css_pixbufs_fix' into 'master'
gtk-demo: Fix CSS in pixbufs demo
See merge request GNOME/gtk!2529
Matthias Clasen [Fri, 4 Sep 2020 13:56:10 +0000 (09:56 -0400)]
build: Add a release script
I've goofed up too many times producing the separate
doc tarballs. So lets collect the required steps in a script.
Björn Daase [Fri, 4 Sep 2020 14:14:09 +0000 (16:14 +0200)]
gtk-demo: Fix CSS in pixbufs demo
Matthias Clasen [Fri, 4 Sep 2020 13:52:37 +0000 (09:52 -0400)]
build: Move the gtk-doc dep to the toplevel
We want to include the gtk-doc subproject in release
tarballs, using --include-subprojects, but that only
works if we've actually built the subproject. And
enabling gtk-doc for dist builds is problematic -
it tends to break meson dist.
So declare the gtk-doc dependency independent of
-Dgtk_doc, and use --force-fallback-for for it.
Dušan Kazik [Fri, 4 Sep 2020 12:42:52 +0000 (12:42 +0000)]
Update Slovak translation
Matthias Clasen [Fri, 4 Sep 2020 12:32:40 +0000 (12:32 +0000)]
Merge branch 'fix-gtk-application-menu-example' into 'master'
GtkApplicationWindow: Fix menubar example
See merge request GNOME/gtk!2528
Emmanuele Bassi [Fri, 4 Sep 2020 11:56:03 +0000 (11:56 +0000)]
Merge branch 'ebassi/for-master' into 'master'
Ebassi/for master
Closes #3118
See merge request GNOME/gtk!2527
Emmanuel Gil Peyrot [Fri, 4 Sep 2020 11:49:28 +0000 (13:49 +0200)]
GtkApplicationWindow: Fix menubar example
This example was using invalid attribute syntax.
Emmanuele Bassi [Fri, 4 Sep 2020 11:05:01 +0000 (12:05 +0100)]
Use consistent argument name
Declarations, definitions, and gtk-doc stanzas should use the same name
for arguments. Otherwise both g-ir-scanner and gtk-doc will complain
that they can't find the argument.
Emmanuele Bassi [Fri, 4 Sep 2020 11:02:15 +0000 (12:02 +0100)]
build: Make sysprof truly optional
We are falling back to the sysprof subproject even if sysprof support
has been explicitly disabled.
Fixes: #3118
Emmanuele Bassi [Fri, 4 Sep 2020 10:49:50 +0000 (10:49 +0000)]
Merge branch 'fix-vulkan-dependency-searching' into 'master'
meson: Fix Vulkan dependency checking
Closes #3108
See merge request GNOME/gtk!2526
Chun-wei Fan [Fri, 4 Sep 2020 09:24:57 +0000 (17:24 +0800)]
gdksurface-win32.c: Fix missed include
We need to include gdkdevice-win32.h for gdksurface-win32.c
Nirbheek Chauhan [Fri, 4 Sep 2020 06:02:35 +0000 (11:32 +0530)]
meson: Fix Vulkan dependency checking
The dependency block was completely wrong. It was:
1. Not searching for the lib manually when -Dvulkan=enabled (default).
The else block was only hit when -Dvulkan=auto.
2. Unconditionally searching for the vulkan library in the else block
when -Dvulkan=disabled
The manual searching is also not required because Meson has a custom
'vulkan' dependency class that already supports Windows, and is more
correct than the code here. Specifically, the current code does not
support picking up the Vulkan SDK from a custom path.
Fixes #3108
Jordi Mas [Fri, 4 Sep 2020 04:26:23 +0000 (06:26 +0200)]
Update Catalan translation
Matthias Clasen [Thu, 3 Sep 2020 17:47:10 +0000 (13:47 -0400)]
3.99.1
Matthias Clasen [Thu, 3 Sep 2020 18:18:41 +0000 (14:18 -0400)]
gridview: Make constructor arguments nullable
I forgot to adjust the precondition when copying things
around.
Matthias Clasen [Thu, 3 Sep 2020 14:49:31 +0000 (14:49 +0000)]
Merge branch 'layout-manager-transform-demo' into 'master'
Layout manager transform demo
See merge request GNOME/gtk!2519
Matthias Clasen [Thu, 27 Aug 2020 11:16:38 +0000 (07:16 -0400)]
Add another layout manager demo
This demo uses transforms to place icons on a sphere.
Matthias Clasen [Wed, 2 Sep 2020 02:32:02 +0000 (22:32 -0400)]
Cosmetic improvement to the layout manager demo
Give this a better title, since we will have more
than one layout manager demo soon.
Matthias Clasen [Wed, 2 Sep 2020 16:52:35 +0000 (12:52 -0400)]
Add a simple testcase for transforms
This can help in tracking various things down,
from picking to clipping.
Matthias Clasen [Wed, 2 Sep 2020 19:47:40 +0000 (19:47 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3109 and #3112
See merge request GNOME/gtk!2522
Matthias Clasen [Wed, 2 Sep 2020 03:23:42 +0000 (23:23 -0400)]
Fix picking
My previous change here was too hasty - this code is not
actually transforming points - it is just a convoluted
way to transform the z axis from child coordinates to
the parent.
Matthias Clasen [Wed, 2 Sep 2020 14:26:13 +0000 (10:26 -0400)]
text widgets: Don't lose focus after Emoji
Make sure to grab focus back when the Emoji chooser
disappears. This prevents focus going nowhere when
the Emoji chooser is canceled.
Fixes: #3112
Matthias Clasen [Wed, 2 Sep 2020 12:04:15 +0000 (08:04 -0400)]
textview: Fix placement of Emoji chooser
If the selection extends beyond the visible range,
place the Emoji chooser over the center of the window.
Fixes: #3109
Matthias Clasen [Tue, 1 Sep 2020 17:15:06 +0000 (13:15 -0400)]
NEWS: Updates
Emin Tufan Çetin [Wed, 2 Sep 2020 18:26:15 +0000 (18:26 +0000)]
Update Turkish translation
Mario Blättermann [Wed, 2 Sep 2020 17:14:28 +0000 (17:14 +0000)]
Update German translation
Carlos Garnacho [Wed, 2 Sep 2020 11:11:54 +0000 (11:11 +0000)]
Merge branch 'gesture-nullable-sequence' into 'master'
Annotate sequence argument of GtkGesture signals as nullable
See merge request GNOME/gtk!2520
Sebastian Dröge [Wed, 2 Sep 2020 10:32:20 +0000 (13:32 +0300)]
Annotate sequence argument of GtkGesture signals as nullable
Matthias Clasen [Tue, 1 Sep 2020 23:06:01 +0000 (19:06 -0400)]
README: Cosmetics
Matthias Clasen [Tue, 1 Sep 2020 22:15:33 +0000 (22:15 +0000)]
Merge branch 'checkbutton-fixes' into 'master'
Checkbutton fixes
See merge request GNOME/gtk!2518
Goran Vidović [Tue, 1 Sep 2020 21:14:00 +0000 (21:14 +0000)]
Update Croatian translation
Matthias Clasen [Tue, 1 Sep 2020 20:31:07 +0000 (16:31 -0400)]
checkbutton: Don't notify write-only properties
Nobody is listening...
Matthias Clasen [Tue, 1 Sep 2020 19:57:14 +0000 (15:57 -0400)]
action helper: Drop G_GNUC_INTERNAL from headers
We haven't needed this for a long time now.
Matthias Clasen [Tue, 1 Sep 2020 19:31:24 +0000 (15:31 -0400)]
Add docs about grouping via action
Mention this in the docs for gtk_check_button_set_group
and gtk_toggle_button_set_group.
Matthias Clasen [Tue, 1 Sep 2020 19:25:26 +0000 (15:25 -0400)]
checkbutton: Support GtkActionable properly
Support grouping buttons via a radio action, as well
as via explicit gtk_check_button_set_group() calls.
Matthias Clasen [Tue, 1 Sep 2020 19:48:10 +0000 (15:48 -0400)]
actionhelper: Add a getter
Add a getter for the GtkActionHelper:role property.
Aurimas Černius [Tue, 1 Sep 2020 19:45:16 +0000 (22:45 +0300)]
Updated Lithuanian translation
Matthias Clasen [Tue, 1 Sep 2020 19:24:34 +0000 (15:24 -0400)]
checkbutton: Don't leak the action helper
Fran Dieguez [Tue, 1 Sep 2020 19:08:43 +0000 (19:08 +0000)]
Update Galician translation
Matthias Clasen [Tue, 1 Sep 2020 18:58:52 +0000 (18:58 +0000)]
Merge branch 'license-clarification' into 'master'
License clarification
See merge request GNOME/gtk!2517
Matthias Clasen [Tue, 1 Sep 2020 18:26:21 +0000 (18:26 +0000)]
Merge branch 'matthiasc/for-master' into 'master'
Matthiasc/for master
Closes #3107
See merge request GNOME/gtk!2516
Matthias Clasen [Tue, 1 Sep 2020 18:11:28 +0000 (14:11 -0400)]
Add a license clarification
Matthias Clasen [Tue, 1 Sep 2020 18:22:09 +0000 (14:22 -0400)]
Move timsort sources to a subdirectory
This makes it easier to identify the files that
belong together, and are under the same license.
Matthias Clasen [Tue, 1 Sep 2020 17:06:20 +0000 (13:06 -0400)]
inspector: Plug another memory leak
Fixes: #3107
Matthias Clasen [Tue, 1 Sep 2020 17:01:34 +0000 (13:01 -0400)]
treelistrowsorter: Plug a memory leak
Matthias Clasen [Tue, 1 Sep 2020 16:56:51 +0000 (12:56 -0400)]
inspector: Plug a small memory leak
Benjamin Otte [Tue, 1 Sep 2020 16:42:09 +0000 (16:42 +0000)]
Merge branch 'listview-constructors' into 'master'
list widgets: Simplify the constructors
See merge request GNOME/gtk!2515
Matthias Clasen [Tue, 1 Sep 2020 16:24:06 +0000 (12:24 -0400)]
list widgets: Simplify the constructors
Now that both arguments to the _new_with_factory() constructors
are nullable, there's no good reason to keep a separate _new()
around. Just make gtk_list_view_new() and gtk_grid_view_new()
take both a model and a factory.
Matthias Clasen [Tue, 1 Sep 2020 13:44:38 +0000 (13:44 +0000)]
Merge branch 'projective-transform' into 'master'
Replace uses of graphene_matrix_transform_
See merge request GNOME/gtk!2514
Matthias Clasen [Tue, 1 Sep 2020 12:54:01 +0000 (08:54 -0400)]
Replace uses of graphene_matrix_transform_
Replace our uses of graphene_matrix_transform_point,
_point3d and _bounds by our own versions that handle
projective transforms correctly.
This fixes render node bounds being incorrect for widgets
involving projective transforms (e.g. testrevealer swing
transformations), and also fixes picking on such widgets.
Matthias Clasen [Tue, 1 Sep 2020 12:36:45 +0000 (08:36 -0400)]
gsk: Add some private transform apis
Some of the graphene_matrix_transform apis don't work
correctly with projective matrices, so add our own
variants.
Asier Sarasua Garmendia [Tue, 1 Sep 2020 12:21:34 +0000 (12:21 +0000)]
Update Basque translation
Benjamin Otte [Tue, 1 Sep 2020 11:08:51 +0000 (11:08 +0000)]
Merge branch 'view-selection-model-3' into 'master'
list widgets: Use selection models in the api
See merge request GNOME/gtk!2512
Daniel Mustieles [Tue, 1 Sep 2020 09:05:08 +0000 (11:05 +0200)]
Updated Spanish translation
Matthias Clasen [Mon, 31 Aug 2020 21:17:21 +0000 (21:17 +0000)]
Merge branch 'adwaita-more-border-spacing' into 'master'
Adwaita: Add border-spacing to some container widgets and style classes (properly)
See merge request GNOME/gtk!2479
Matthias Clasen [Mon, 31 Aug 2020 21:06:48 +0000 (17:06 -0400)]
list widgets: Use selection models in the api
Change the apis in GtkListView, GtkColumnView and
GtkGridView to be explicitly about GtkSelectionModel,
to make it obvious that the widgets handle selection.
Update all users.
Matej Urbančič [Mon, 31 Aug 2020 19:53:05 +0000 (21:53 +0200)]
Updated Slovenian translation
Matej Urbančič [Mon, 31 Aug 2020 19:50:01 +0000 (21:50 +0200)]
Updated Slovenian translation
Matthias Clasen [Mon, 31 Aug 2020 17:37:52 +0000 (13:37 -0400)]
NEWS: Updates
Matthias Clasen [Mon, 31 Aug 2020 16:30:21 +0000 (16:30 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'
Wip/baedert/for master
Closes #2777
See merge request GNOME/gtk!2503
Matthias Clasen [Mon, 31 Aug 2020 16:17:05 +0000 (16:17 +0000)]
Merge branch 'fix_resource_leak_in_gdkdisplayclose_gtk4' into 'master'
Fix resource leak in gdk_display_close() under Wayland
See merge request GNOME/gtk!2511
Matthias Clasen [Mon, 31 Aug 2020 16:05:53 +0000 (12:05 -0400)]
pagesetupdialog: Just use labels in check buttons
Check buttons lost their ability to hold general
content. And while that is maybe sad, the tiny
images here are not really useful anyway, and
should just go away.
Julien Ropé [Mon, 31 Aug 2020 15:26:18 +0000 (17:26 +0200)]
Fix resource leak in gdk_display_close() under Wayland
When using the gdk_display_close(), the handle to the Wayland compositor was not released. This could cause the consumption of all available handles, preventing other processes from accessing the display.
Fixing this by calling wl_display_disconnect() when releasing the GdkWaylandDisplay object.
Signed-off-by: Julien Ropé <jrope@redhat.com>
Matthias Clasen [Mon, 31 Aug 2020 14:50:14 +0000 (10:50 -0400)]
Fix a typo
sicklylife [Mon, 31 Aug 2020 14:36:14 +0000 (14:36 +0000)]
Update Japanese translation
sicklylife [Mon, 31 Aug 2020 14:30:59 +0000 (14:30 +0000)]
Update Japanese translation
Boyuan Yang [Mon, 31 Aug 2020 13:44:27 +0000 (13:44 +0000)]
Update Chinese (China) translation
Matthias Clasen [Mon, 31 Aug 2020 12:20:25 +0000 (08:20 -0400)]
Fix up the focus-chain tests
Several typos here, and some of the expected
output changes due to widget class changes.
Matthias Clasen [Mon, 31 Aug 2020 12:13:20 +0000 (08:13 -0400)]
doc shooter: Remove radio button remnants
Rafael Fontenelle [Mon, 31 Aug 2020 11:12:54 +0000 (11:12 +0000)]
Update Brazilian Portuguese translation
Jakub Steiner [Mon, 31 Aug 2020 09:27:29 +0000 (11:27 +0200)]
Merge branch 'nana-4/gtk-fix-circular-button-styling'
nana-4 [Fri, 28 Aug 2020 12:56:30 +0000 (21:56 +0900)]
Adwaita: Ensure button.circular is a perfect circle
It seems the commit
9d60047616661dc073ca6310193c2e18a3aaa59c had no
effect, even on image buttons.
Jakub Steiner [Mon, 17 Aug 2020 11:18:07 +0000 (13:18 +0200)]
Adwaita: rich-list styling
FIXME: why is the second list in Demo>List Box>Controls taller?
Yuri Chornoivan [Mon, 31 Aug 2020 06:13:57 +0000 (06:13 +0000)]
Update Ukrainian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:04:08 +0000 (06:04 +0000)]
Update Indonesian translation
Kukuh Syafaat [Mon, 31 Aug 2020 06:02:57 +0000 (06:02 +0000)]
Update Indonesian translation
Matthias Clasen [Mon, 31 Aug 2020 02:25:56 +0000 (22:25 -0400)]
migration guide: Mention button hierarchy changes
Matthias Clasen [Mon, 31 Aug 2020 02:25:36 +0000 (22:25 -0400)]
Drop GtkRadioButton
Matthias Clasen [Mon, 31 Aug 2020 01:07:20 +0000 (21:07 -0400)]
builder-tool: Replace radio buttons by check buttons
For --3to4, replace GtkRadioButton by either GtkCheckButton
or GtkToggleButton, depending on the value of :draw-indicator.
Update the testsuite to cover this.
Matthias Clasen [Mon, 31 Aug 2020 02:17:02 +0000 (22:17 -0400)]
widget-factory: Stop using radio buttons
Use grouped toggle buttons for the view switcher
on page 2.
Matthias Clasen [Mon, 31 Aug 2020 01:51:20 +0000 (21:51 -0400)]
iconbrowser: Stop using radio buttons
Replace them with grouped toggle buttons.
Matthias Clasen [Mon, 31 Aug 2020 01:50:45 +0000 (21:50 -0400)]
fontrendering demo: Stop using radio buttons
Replace them with grouped toggled buttons.
Matthias Clasen [Mon, 31 Aug 2020 01:48:00 +0000 (21:48 -0400)]
togglebutton: Add grouping
This is the replacement for groups of radiobuttons
with draw-indicator = FALSE.
Matthias Clasen [Mon, 31 Aug 2020 00:59:05 +0000 (20:59 -0400)]
Remove GtkRadioButton uses in ui files in tests
Matthias Clasen [Mon, 31 Aug 2020 00:57:25 +0000 (20:57 -0400)]
Remove GtkRadioButton references in the docs
Matthias Clasen [Sun, 30 Aug 2020 23:36:27 +0000 (19:36 -0400)]
Clean up uses of gtk_toggle_button_get/set_active
Replace all uses on check buttons by the corresponding
check button api.
Matthias Clasen [Sun, 30 Aug 2020 22:56:35 +0000 (18:56 -0400)]
docs: Update the gallery image for check buttons
Show grouped and ungrouped check buttons.
Matthias Clasen [Sun, 30 Aug 2020 22:55:47 +0000 (18:55 -0400)]
doc shooter: Drop radio buttons
Instead, show grouped checkbuttons.
Matthias Clasen [Sun, 30 Aug 2020 22:54:53 +0000 (18:54 -0400)]
build: The doc shooter works without x11 now
No need to restrict the build to just x11.
We're not using pixmaps anymore.
Matthias Clasen [Sun, 30 Aug 2020 22:43:33 +0000 (18:43 -0400)]
Drop a long-dead test
We don't parse rc files anymore. Time for testrc.c to go.
Matthias Clasen [Sun, 30 Aug 2020 22:21:48 +0000 (18:21 -0400)]
tests: Stop using radio buttons
Use grouped check buttons.
Matthias Clasen [Sun, 30 Aug 2020 22:21:22 +0000 (18:21 -0400)]
checkbutton: Reuse a helper function
Matthias Clasen [Sun, 30 Aug 2020 22:19:05 +0000 (18:19 -0400)]
checkbutton: Fix clicking on the last group member
Clicking on the last group member was letting me
uncheck it, creating a radio group without active
item, which is not what we want.
Matthias Clasen [Sun, 30 Aug 2020 21:57:35 +0000 (17:57 -0400)]
pagesetupdialog: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:56:11 +0000 (17:56 -0400)]
stackswitcher: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:55:54 +0000 (17:55 -0400)]
inspector: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:55:13 +0000 (17:55 -0400)]
checkbutton: Drop gtkradiobutton.h include
No longer used.
Matthias Clasen [Sun, 30 Aug 2020 21:51:21 +0000 (17:51 -0400)]
mountoperation: Stop using radio buttons
Use grouped check buttons instead.